package com.ihr360.oneclick.dto;

import com.ihr360.commons.model.entity.StringIdWithTime;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * describe:
 * 发薪类型设置表
 *
 * @author Monkey
 * @date 18-5-9
 */
@Entity
@Table(name = "tab_salary_type_setting")
public class SalaryTypeSettingDto extends StringIdWithTime {


    /**
     * 公司id
     */
    @Column(length = 40, nullable = false)
    private String companyId;

    /**
     * 发薪类型字段名称
     */
    @Column(length = 200, nullable = false)
    private String typeName;

    public String getReferId() {
        return referId;
    }

    public void setReferId(String referId) {
        this.referId = referId;
    }

    /**
     * 是否启用
     */
    @Column(unique = false)
    private Boolean enable;

    /**
     * 关联id
     */
    @Column(length = 40, nullable = true)
    private String referId;

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
}
